// This file is part of Indico.
// Copyright (C) 2002 - 2025 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base' as *;
@use 'partials/_badges' as badges;

.i-plugins-list {
  & > h2 {
    margin-top: 2em;
  }

  & > .i-badges-list {
    & > .i-badge {
      width: 10em;
      min-height: 7em;

      @include badges.i-badge-color($light-blue, $dark-blue, $light-gray, true);

      &.i-badge-disabled {
        background: repeating-linear-gradient(
          -40deg,
          $dark-blue,
          $dark-blue 10px,
          lighten($dark-blue, 0.5 * $light-color-variation) 10px,
          lighten($dark-blue, 0.5 * $light-color-variation) 20px
        );
      }
    }
  }
}
